﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WFExtended.Twitter
{
    /// <summary>
    /// Users who contributed to the authorship of the tweet
    /// </summary>
    [DataContract]
    public class Contributor
    {
        /// <summary>
        /// Gets or sets the ID of the user who contributed to this Tweet.
        /// </summary>
        /// <value>
        /// ID of the user who contributed to this Tweet.
        /// </value>
        [DataMember(Name = "id")]
        public long ID { get; set; }

        /// <summary>
        /// Gets or sets the ID string.
        /// </summary>
        /// <value>
        /// The ID string.
        /// </value>
        [DataMember(Name = "id_str")]
        public string IDString { get; set; }

        /// <summary>
        /// Gets or sets the screen name of the user who contributed to this Tweet.
        /// </summary>
        /// <value>
        /// Screen name of the user who contributed to this Tweet.
        /// </value>
        [DataMember(Name = "screen_name")]
        public string ScreenName { get; set; }
    }
}
